﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations.Schema;

namespace Tesis2.Models
{
    public class PrivilegioXVentana
    {
        [DisplayName("Código PrivilegioXVentana")]
        [Key]
        public int PrivilegioXVentanaID { get; set; }

        [DisplayName("Descripción")]
        public string Descripcion { get; set; }

        //foreign keys

        [DisplayName("Ventana")]
        public int VentanaPrivilegioID { get; set; }
        public virtual Ventana VentanaPrivilegio { get; set; }

        [DisplayName("Privilegio")]
        public int PrivilegioVentanaID { get; set; }
        public virtual Privilegio PrivilegioVentana { get; set; }

    }
}